Skip to main content
GET
/
v1
/
organizations
/
{organization_id}
/
projects
/
{project_id}
/
dns-zones
/
{id}
[DNS Zones] Retrieve DNS zone details
curl --request GET \
  --url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/dns-zones/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "zone_name": "<string>",
  "cloudflare_nameservers": "<unknown>",
  "is_verified": true,
  "record_count": 123,
  "records": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "record_type": "A",
      "name": "<string>",
      "content": "<string>",
      "created": "2023-11-07T05:31:56Z",
      "modified": "2023-11-07T05:31:56Z",
      "ttl": 2147483647,
      "priority": 2147483647,
      "proxied": true
    }
  ],
  "created": "2023-11-07T05:31:56Z",
  "modified": "2023-11-07T05:31:56Z",
  "mode": "onetsolutions",
  "is_active": true
}

Documentation Index

Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).

Path Parameters

id
string
required

The unique identifier (UUID) of the DNS zone to retrieve

organization_id
string<uuid>
required
project_id
string<uuid>
required

Response

DNS zone details with all records retrieved successfully

id
string<uuid>
required
read-only
zone_name
string
required
Maximum string length: 253
cloudflare_nameservers
any
required
is_verified
boolean
required
read-only
record_count
integer
required
read-only
records
object[]
required
read-only
created
string<date-time>
required
read-only
modified
string<date-time>
required
read-only
mode
enum<string>
  • onetsolutions - onetsolutions
  • client - client
Available options:
onetsolutions,
client
is_active
boolean